package it.aekidna.cleverplatypus.workflow
{
	import flash.events.IEventDispatcher;
	
	public interface IWorkflowTask extends IEventDispatcher
	{
		function get name() : String;
		function set name( inName : String ) : void;
		
		[Inspectable(defaultValue="true", type="Boolean")]
		function get enabled() : Boolean;
		function set enabled( inEnabled : Boolean ) : void;
		
		function get failurePolicy() : String;
		function set failurePolicy( inPolicy : String ) : void;
		
		function get parent() : IWorkflowTask;
		function set parent( inParent : IWorkflowTask ) : void;
		
		function cleanUp() : void;
		
		function begin() : void;
		
	}
}